package com.example.gladiadores;

import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.view.Window;

public class TouchImageViewActivity extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.touchimageview);

		TouchImageView touch = new TouchImageView(this);

		Bitmap bm = BitmapFactory.decodeResource(getResources(),
				R.drawable.mapa);
		touch.setImageBitmap(bm);
		touch.setMaxZoom(4f);
		setContentView(touch);
	}
}
